# 导包
import os
import sys

DIR_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(DIR_PATH)

WAIT_TIME = 10

browser_type = 'edge'
# browser_type = 'chrome'

headless = True
# headless = False

# is_dd_msg = True
is_dd_msg = False

secret = 'SEC5bec56af5a1059e5e69b78250704dc53246c09e61501b486c3bf21c21b35b5e5'
webhook = (
    'https://oapi.dingtalk.com/robot/send?access_token=db50eb02dea43ed5ef8e5cfc2cc9f50d747f0ac2c636e9b429e511c362d4ae55')

FILE_PATH = {
    'log': os.path.join(DIR_PATH, 'log'),
    'screenshot': os.path.join(DIR_PATH, 'screenshot'),
    'ini': os.path.join(DIR_PATH, 'config', 'config.ini')
}